package com.imohoo.git;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

import java.util.List;
import java.util.Map;

/**
 * Created by zhaobo on 2017/1/3.
 */

public interface GitHubService {
    @GET("https://api.github.com/users/{user}/repos")
    Call<List<Repo>> listRepos(@Path("user") String user);

    Call<List<Repo>> listReposa(@QueryMap() Map<String, String> users);
}
